package com.ynet.hmds28.user.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ServiceprovideQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public ServiceprovideQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSeviceproviceidIsNull() {
            addCriterion("seviceProviceId is null");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidIsNotNull() {
            addCriterion("seviceProviceId is not null");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidEqualTo(String value) {
            addCriterion("seviceProviceId =", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidNotEqualTo(String value) {
            addCriterion("seviceProviceId <>", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidGreaterThan(String value) {
            addCriterion("seviceProviceId >", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidGreaterThanOrEqualTo(String value) {
            addCriterion("seviceProviceId >=", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidLessThan(String value) {
            addCriterion("seviceProviceId <", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidLessThanOrEqualTo(String value) {
            addCriterion("seviceProviceId <=", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidLike(String value) {
            addCriterion("seviceProviceId like", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidNotLike(String value) {
            addCriterion("seviceProviceId not like", value, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidIn(List<String> values) {
            addCriterion("seviceProviceId in", values, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidNotIn(List<String> values) {
            addCriterion("seviceProviceId not in", values, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidBetween(String value1, String value2) {
            addCriterion("seviceProviceId between", value1, value2, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andSeviceproviceidNotBetween(String value1, String value2) {
            addCriterion("seviceProviceId not between", value1, value2, "seviceproviceid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("userId like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("userId not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andServicenameIsNull() {
            addCriterion("serviceName is null");
            return (Criteria) this;
        }

        public Criteria andServicenameIsNotNull() {
            addCriterion("serviceName is not null");
            return (Criteria) this;
        }

        public Criteria andServicenameEqualTo(String value) {
            addCriterion("serviceName =", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameNotEqualTo(String value) {
            addCriterion("serviceName <>", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameGreaterThan(String value) {
            addCriterion("serviceName >", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameGreaterThanOrEqualTo(String value) {
            addCriterion("serviceName >=", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameLessThan(String value) {
            addCriterion("serviceName <", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameLessThanOrEqualTo(String value) {
            addCriterion("serviceName <=", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameLike(String value) {
            addCriterion("serviceName like", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameNotLike(String value) {
            addCriterion("serviceName not like", value, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameIn(List<String> values) {
            addCriterion("serviceName in", values, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameNotIn(List<String> values) {
            addCriterion("serviceName not in", values, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameBetween(String value1, String value2) {
            addCriterion("serviceName between", value1, value2, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicenameNotBetween(String value1, String value2) {
            addCriterion("serviceName not between", value1, value2, "servicename");
            return (Criteria) this;
        }

        public Criteria andServicedescIsNull() {
            addCriterion("serviceDesc is null");
            return (Criteria) this;
        }

        public Criteria andServicedescIsNotNull() {
            addCriterion("serviceDesc is not null");
            return (Criteria) this;
        }

        public Criteria andServicedescEqualTo(String value) {
            addCriterion("serviceDesc =", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescNotEqualTo(String value) {
            addCriterion("serviceDesc <>", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescGreaterThan(String value) {
            addCriterion("serviceDesc >", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescGreaterThanOrEqualTo(String value) {
            addCriterion("serviceDesc >=", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescLessThan(String value) {
            addCriterion("serviceDesc <", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescLessThanOrEqualTo(String value) {
            addCriterion("serviceDesc <=", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescLike(String value) {
            addCriterion("serviceDesc like", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescNotLike(String value) {
            addCriterion("serviceDesc not like", value, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescIn(List<String> values) {
            addCriterion("serviceDesc in", values, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescNotIn(List<String> values) {
            addCriterion("serviceDesc not in", values, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescBetween(String value1, String value2) {
            addCriterion("serviceDesc between", value1, value2, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andServicedescNotBetween(String value1, String value2) {
            addCriterion("serviceDesc not between", value1, value2, "servicedesc");
            return (Criteria) this;
        }

        public Criteria andImportfieldIsNull() {
            addCriterion("importField is null");
            return (Criteria) this;
        }

        public Criteria andImportfieldIsNotNull() {
            addCriterion("importField is not null");
            return (Criteria) this;
        }

        public Criteria andImportfieldEqualTo(String value) {
            addCriterion("importField =", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldNotEqualTo(String value) {
            addCriterion("importField <>", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldGreaterThan(String value) {
            addCriterion("importField >", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldGreaterThanOrEqualTo(String value) {
            addCriterion("importField >=", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldLessThan(String value) {
            addCriterion("importField <", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldLessThanOrEqualTo(String value) {
            addCriterion("importField <=", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldLike(String value) {
            addCriterion("importField like", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldNotLike(String value) {
            addCriterion("importField not like", value, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldIn(List<String> values) {
            addCriterion("importField in", values, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldNotIn(List<String> values) {
            addCriterion("importField not in", values, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldBetween(String value1, String value2) {
            addCriterion("importField between", value1, value2, "importfield");
            return (Criteria) this;
        }

        public Criteria andImportfieldNotBetween(String value1, String value2) {
            addCriterion("importField not between", value1, value2, "importfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldIsNull() {
            addCriterion("exportField is null");
            return (Criteria) this;
        }

        public Criteria andExportfieldIsNotNull() {
            addCriterion("exportField is not null");
            return (Criteria) this;
        }

        public Criteria andExportfieldEqualTo(String value) {
            addCriterion("exportField =", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldNotEqualTo(String value) {
            addCriterion("exportField <>", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldGreaterThan(String value) {
            addCriterion("exportField >", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldGreaterThanOrEqualTo(String value) {
            addCriterion("exportField >=", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldLessThan(String value) {
            addCriterion("exportField <", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldLessThanOrEqualTo(String value) {
            addCriterion("exportField <=", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldLike(String value) {
            addCriterion("exportField like", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldNotLike(String value) {
            addCriterion("exportField not like", value, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldIn(List<String> values) {
            addCriterion("exportField in", values, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldNotIn(List<String> values) {
            addCriterion("exportField not in", values, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldBetween(String value1, String value2) {
            addCriterion("exportField between", value1, value2, "exportfield");
            return (Criteria) this;
        }

        public Criteria andExportfieldNotBetween(String value1, String value2) {
            addCriterion("exportField not between", value1, value2, "exportfield");
            return (Criteria) this;
        }

        public Criteria andServicecostruleIsNull() {
            addCriterion("serviceCostRule is null");
            return (Criteria) this;
        }

        public Criteria andServicecostruleIsNotNull() {
            addCriterion("serviceCostRule is not null");
            return (Criteria) this;
        }

        public Criteria andServicecostruleEqualTo(String value) {
            addCriterion("serviceCostRule =", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleNotEqualTo(String value) {
            addCriterion("serviceCostRule <>", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleGreaterThan(String value) {
            addCriterion("serviceCostRule >", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleGreaterThanOrEqualTo(String value) {
            addCriterion("serviceCostRule >=", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleLessThan(String value) {
            addCriterion("serviceCostRule <", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleLessThanOrEqualTo(String value) {
            addCriterion("serviceCostRule <=", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleLike(String value) {
            addCriterion("serviceCostRule like", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleNotLike(String value) {
            addCriterion("serviceCostRule not like", value, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleIn(List<String> values) {
            addCriterion("serviceCostRule in", values, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleNotIn(List<String> values) {
            addCriterion("serviceCostRule not in", values, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleBetween(String value1, String value2) {
            addCriterion("serviceCostRule between", value1, value2, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andServicecostruleNotBetween(String value1, String value2) {
            addCriterion("serviceCostRule not between", value1, value2, "servicecostrule");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andServiceurlIsNull() {
            addCriterion("serviceUrl is null");
            return (Criteria) this;
        }

        public Criteria andServiceurlIsNotNull() {
            addCriterion("serviceUrl is not null");
            return (Criteria) this;
        }

        public Criteria andServiceurlEqualTo(String value) {
            addCriterion("serviceUrl =", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlNotEqualTo(String value) {
            addCriterion("serviceUrl <>", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlGreaterThan(String value) {
            addCriterion("serviceUrl >", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlGreaterThanOrEqualTo(String value) {
            addCriterion("serviceUrl >=", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlLessThan(String value) {
            addCriterion("serviceUrl <", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlLessThanOrEqualTo(String value) {
            addCriterion("serviceUrl <=", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlLike(String value) {
            addCriterion("serviceUrl like", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlNotLike(String value) {
            addCriterion("serviceUrl not like", value, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlIn(List<String> values) {
            addCriterion("serviceUrl in", values, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlNotIn(List<String> values) {
            addCriterion("serviceUrl not in", values, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlBetween(String value1, String value2) {
            addCriterion("serviceUrl between", value1, value2, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServiceurlNotBetween(String value1, String value2) {
            addCriterion("serviceUrl not between", value1, value2, "serviceurl");
            return (Criteria) this;
        }

        public Criteria andServicemethodIsNull() {
            addCriterion("serviceMethod is null");
            return (Criteria) this;
        }

        public Criteria andServicemethodIsNotNull() {
            addCriterion("serviceMethod is not null");
            return (Criteria) this;
        }

        public Criteria andServicemethodEqualTo(String value) {
            addCriterion("serviceMethod =", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodNotEqualTo(String value) {
            addCriterion("serviceMethod <>", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodGreaterThan(String value) {
            addCriterion("serviceMethod >", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodGreaterThanOrEqualTo(String value) {
            addCriterion("serviceMethod >=", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodLessThan(String value) {
            addCriterion("serviceMethod <", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodLessThanOrEqualTo(String value) {
            addCriterion("serviceMethod <=", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodLike(String value) {
            addCriterion("serviceMethod like", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodNotLike(String value) {
            addCriterion("serviceMethod not like", value, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodIn(List<String> values) {
            addCriterion("serviceMethod in", values, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodNotIn(List<String> values) {
            addCriterion("serviceMethod not in", values, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodBetween(String value1, String value2) {
            addCriterion("serviceMethod between", value1, value2, "servicemethod");
            return (Criteria) this;
        }

        public Criteria andServicemethodNotBetween(String value1, String value2) {
            addCriterion("serviceMethod not between", value1, value2, "servicemethod");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}